home *** CD-ROM | disk | FTP | other *** search
- /*View Other*/
- options results
- requestfile title DVI_FILE pattern '#?.dvi' getdir
- if ~(rc==0) then exit
- file=result
- address command 'TeX:bin/showdvi' file
- r=lastpos(file,"/")
- lo=left(file,r)
- log=lo||'showdvi.log'
- if ~(rc==0) then do
- changewindow leftedge 0 topedge 13 width 668 height 220
- requestnotify title ERROR string 'View Failed. See log.'
- new
- address value result
- activatewindow port result
- open files log
- window front
- changewindow leftedge 0 topedge 233 width 668 height 230
- end
- else address command delete log